using System;
using System.Collections.Generic;
using System.Text;
using MWang.Data.ORM;

namespace CIM.Model
{
    [TableInfo("CIMuserinfo",IsKeyWithQuote=true,KeyName="aid")]
    public class ArUserInfo
    {
        private string _aid;
        private string _cname;
        private string _workplace;
        private string _livein;
        private string _identcard;
        private DateTime? _idoverdate;
        private string _hid;
        private string _hvalue;
        private string _wage;
        private string _rpr;
        private float? _mpm;
        private float? _ocash1;
        private float? _ocash2;
        private float? _ocash3;
        private string _oftel;
        private string _htel;
        private string _mphone;
        private string _othercon;
        private string _yname;
        private string _yworkplace;
        private string _yidentcard;
        private string _yrpr;
        private string _yoftel;
        private string _yhtel;
        private string _ymphone;
        private string _yothercon;
        private DateTime? _cbirthday;
        private bool? _cbirthtype;
        private bool? _csex;
        private DateTime? _ybirthday;
        private bool? _ybirthtype;
        private bool? _ysex;
        private string _payAccount;

        #region Constructors
        public ArUserInfo()
        {
        }
        #endregion

        #region Properties
        [FieldInfo(IsKey=true)]
        public string Aid
        {
            get { return _aid; }
            set { _aid = value; }
        }
        [FieldInfo()]
        public string Cname
        {
            get { return _cname; }
            set { _cname = value; }
        }
        [FieldInfo()]
        public string Workplace
        {
            get { return _workplace; }
            set { _workplace = value; }
        }
        [FieldInfo()]
        public string Livein
        {
            get { return _livein; }
            set { _livein = value; }
        }
        [FieldInfo()]
        public string Identcard
        {
            get { return _identcard; }
            set { _identcard = value; }
        }
        [FieldInfo()]
        public DateTime? Idoverdate
        {
            get { return _idoverdate; }
            set { _idoverdate = value; }
        }
        [FieldInfo()]
        public string Hid
        {
            get { return _hid; }
            set { _hid = value; }
        }
        [FieldInfo()]
        public string Hvalue
        {
            get { return _hvalue; }
            set { _hvalue = value; }
        }
        [FieldInfo()]
        public string Wage
        {
            get { return _wage; }
            set { _wage = value; }
        }
        [FieldInfo()]
        public string Rpr
        {
            get { return _rpr; }
            set { _rpr = value; }
        }
        [FieldInfo(FieldTypeWithQuote=false)]
        public float? Mpm
        {
            get { return _mpm; }
            set { _mpm = value; }
        }
        [FieldInfo(FieldTypeWithQuote=false)]
        public float? Ocash1
        {
            get { return _ocash1; }
            set { _ocash1 = value; }
        }
        [FieldInfo(FieldTypeWithQuote=false)]
        public float? Ocash2
        {
            get { return _ocash2; }
            set { _ocash2 = value; }
        }
        [FieldInfo(FieldTypeWithQuote=false)]
        public float? Ocash3
        {
            get { return _ocash3; }
            set { _ocash3 = value; }
        }
        [FieldInfo()]
        public string Oftel
        {
            get { return _oftel; }
            set { _oftel = value; }
        }
        [FieldInfo()]
        public string Htel
        {
            get { return _htel; }
            set { _htel = value; }
        }
        [FieldInfo()]
        public string Mphone
        {
            get { return _mphone; }
            set { _mphone = value; }
        }
        [FieldInfo()]
        public string Othercon
        {
            get { return _othercon; }
            set { _othercon = value; }
        }
        [FieldInfo()]
        public string Yname
        {
            get { return _yname; }
            set { _yname = value; }
        }
        [FieldInfo()]
        public string Yworkplace
        {
            get { return _yworkplace; }
            set { _yworkplace = value; }
        }
        [FieldInfo()]
        public string Yidentcard
        {
            get { return _yidentcard; }
            set { _yidentcard = value; }
        }
        [FieldInfo()]
        public string Yrpr
        {
            get { return _yrpr; }
            set { _yrpr = value; }
        }
        [FieldInfo()]
        public string Yoftel
        {
            get { return _yoftel; }
            set { _yoftel = value; }
        }
        [FieldInfo()]
        public string Yhtel
        {
            get { return _yhtel; }
            set { _yhtel = value; }
        }
        [FieldInfo()]
        public string Ymphone
        {
            get { return _ymphone; }
            set { _ymphone = value; }
        }
        [FieldInfo()]
        public string Yothercon
        {
            get { return _yothercon; }
            set { _yothercon = value; }
        }
        [FieldInfo()]
        public DateTime? Cbirthday
        {
            get { return _cbirthday; }
            set { _cbirthday = value; }
        }
        [FieldInfo()]
        public bool? Cbirthtype
        {
            get { return _cbirthtype; }
            set { _cbirthtype = value; }
        }
        [FieldInfo()]
        public bool? Csex
        {
            get { return _csex; }
            set { _csex = value; }
        }
        [FieldInfo()]
        public DateTime? Ybirthday
        {
            get { return _ybirthday; }
            set { _ybirthday = value; }
        }
        [FieldInfo()]
        public bool? Ybirthtype
        {
            get { return _ybirthtype; }
            set { _ybirthtype = value; }
        }
        [FieldInfo()]
        public bool? Ysex
        {
            get { return _ysex; }
            set { _ysex = value; }
        }
        [FieldInfo()]
        public string PayAccount
        {
            get { return _payAccount; }
            set { _payAccount = value; }
        }
        #endregion
    }
  }
